<template>
<div :class="['container-box',type]">
  <slot></slot>
</div>
</template>

<script>
export default {
  name: "container_box",
  props: ["type"],
  data() {
    return {

    }
  },

}
</script>

<style lang="scss" scoped>
.container-box {
  box-sizing: border-box;
  padding: 10px;
  width: 900px;
  border-radius: 10px;
  margin-top: 20px;
  opacity: 0.95;
}
.common {
  background-color: #ececec;
  border-left: 5px #a9a9a9 solid;
}
.primary {
  border-left: 5px #3eb3e5 solid;
  background-color: #bee8ff;
}
</style>
